package com.jsyl.entity.core;

import java.io.Serializable;
import java.math.BigDecimal;

import com.jsyl.entity.common.BaseEntity;
import com.jsyl.entity.common.orm.annotation.Column;
import com.jsyl.entity.common.orm.annotation.Entity;
import com.jsyl.entity.common.orm.annotation.Id;
/**
 * 出借人待收记录 实体
 * @author song
 */
@Entity(table = "NF_COLLECTION")
public class Collection extends BaseEntity implements Serializable{

	private static final long serialVersionUID = -2352509902241994668L;
	
	 @Id
	 @Column("ID")
	 private Integer id;
	 
	 /*用户ID*/
	 @Column("USER_ID")
	 private Integer userId;
	 
	/* 借款标的ID*/
	 @Column("LOAN_ID")
	 private Integer loanId;
	 
	/* 还款状态 【0未还款 ，1已还款 ，2提前还款】*/
	 @Column("STATUS")
	 private Integer status;
	 
	/* 待收期数*/
	 @Column("PERIOD")
	 private Integer period;
	 
	 /*预计还款时间*/
	 @Column("REPAYMENT_TIME")
	 private String repaymentTime;
	 
	/* 实际还款时间*/
	 @Column("REPAYMENT_YESTIME")
	 private String repaymentYesTime;
	 
	/* 预还金额*/
	 @Column("REPAYMENT_MONEY")
	 private BigDecimal rempaymentMoney;
	 
	/* 已还金额*/
	 @Column("REPAYMENT_YESMONEY")
	 private BigDecimal repaymentYesMoney;
	 
	 /*本金*/
	 @Column("CAPITAL")
	 private BigDecimal capital;
	 
	/* 利息*/
	 @Column("INTEREST")
	 private BigDecimal interest;
	 
	/* 逾期利息*/
	 @Column("LAST_INTEREST")
	 private BigDecimal advanceCapital;
	 
	 /*逾期天数*/
	 @Column("LAST_DAYS")
	 private Integer lastDays;
	 
	 /*补偿金（提前还款）*/
	 @Column("OFFSET_CAPITAL")
	 private BigDecimal offsetCapital;
	
	 /*添加时间*/
	 @Column("ADDTIME")
	 private String addtime;

	@Override
	public Serializable getId() {
		// TODO Auto-generated method stub
		return null;
	}

}
